<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>3333</title>
    <meta name="viewport" content="width=480, user-scalable=no, target-densitydpi=device-dpi" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
</head>

<body>

    <img src="http://www.ufirefly.com/app/Assets/Images/a_logo_b_b.png" />
    <script src="Assets/Scripts/jquery-1.10.1.min.js"></script>
    <script src="Assets/Scripts/weixinapi.js?v=11"></script>
    <script>
	WeixinApi.ready(function (Api) {
        alert("222");
            // 分享的回调
            var wxCallbacks = {
                // 分享过程需要异步执行
                async: true,
                // 分享操作开始之前
                ready: function () {
                    var self = this;

                    var wxData = { 
                            "appId": "","imgUrl": "http://wx.digicru.tyyouxi.com/Assets/Images/Icon.png","link": "http://wx.digicru.tyyouxi.com/MainPages.html","title": "真日本双飞!数码宝贝唯一正版手游今日上线送IP6","desc": "" 
                        };
                    alert("11111");
                    self.dataLoaded(wxData);
                },
                fail : function(resp) {
                    
                },
                confirm: function (resp) {
                    alert("11111");
                    window.location.href="Prize.html"; 
                },
                all: function (resp) {

                }
            };

            Api.shareToFriend({}, wxCallbacks);
            Api.shareToWeibo({}, wxCallbacks);
            Api.shareToTimeline({}, wxCallbacks);
            Api.showOptionMenu();
        });
	</script>
</body>
</html>
